home *** CD-ROM | disk | FTP | other *** search
- Path: garlic.com!usenet
- From: Grant Robinson <grant@garlic.com>
- Newsgroups: comp.lang.c++
- Subject: MFC CArray Template
- Date: Fri, 29 Mar 1996 09:15:25 -0800
- Organization: South_Valley_Internet
- Message-ID: <315C1AAD.725@garlic.com>
- NNTP-Posting-Host: h.assign.garlic.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
- CC: grant@garlic.com
-
- In MSVC 1.52, I noticed that the CArray template uses the memcpy and
- memmove functions rather than the contained object's assignment and copy
- functions. Will this work for any object? I thought that doing a
- bit-wise copy of an object wreaks havoc to the copy. What advantages are
- there to implementing CArray this way?
-